package Message.Game
{
	import Engine.RMI.*;
	import Framework.Serialize.*;
	import Framework.Util.*;
	
	public class AMI_ILoginGame_loginGame extends RMIObject
	{
		
		public function AMI_ILoginGame_loginGame(param1:Function = null, param2:Function = null, param3:Object = null)
		{
			super(param1, param2);
			userObject = param3;
			callFunction = "loginGame";
			
		}
		
		override public function __response(param1:SerializeStream) : void
		{
			var loginGameReturn:SLoginGameReturn;
			var __is:* = param1;
			try
			{
				loginGameReturn = new SLoginGameReturn();
				loginGameReturn.__read(__is);
			}
			catch (__ex:Error)
			{
				cdeException(new Exception("ExceptionCodeSerialize", Exception.ExceptionCodeSerialize));
				
			}
			this.cdeResponse(loginGameReturn);
			
		}
		
		public function cdeResponse(param1:SLoginGameReturn) : void
		{
			if (_response != null)
			{
				_response.call(null, this, param1);
			}
			
		}
		
	}
}
